﻿using System;
using System.Collections.Generic;
using System.Linq;
using Volo.Abp.Domain.Entities.Auditing;
using Volo.Abp.MultiTenancy;

namespace GroupMeal.Menus
{
    public class Schedule:FullAuditedEntity<Guid>,IMultiTenant
    {
        /// <summary>
        /// 租户Id
        /// </summary>
        public virtual Guid? TenantId
        {
            get;set;
        }

        /// <summary>
        /// 名称
        /// </summary>
        public virtual string Name
        {
            get;set;
        }

        /// <summary>
        /// 早餐排班
        /// </summary>
        public virtual List<ScheduleDetail>? BreakfastDetails 
        {
            get;set;
        }

        /// <summary>
        /// 午餐安排
        /// </summary>
        public virtual List<ScheduleDetail>? LaunchDetails
        {
            get;set;
        }

        /// <summary>
        /// 晚餐安排
        /// </summary>
        public virtual List<ScheduleDetail>? DinnerDetails
        {
            get;set;
        }
        /// <summary>
        /// 开启早餐
        /// </summary>
        public virtual bool BreakfastActive
        {
            get; set;
        } = true;

        /// <summary>
        /// 开启午餐
        /// </summary>
        public virtual bool LaunchActive
        {
            get; set;
        } = true;

        /// <summary>
        /// 开启晚餐
        /// </summary>
        public virtual bool DinnerActive
        {
            get; set;
        } = true;


        /// <summary>
        /// 活动
        /// </summary>
        public virtual bool IsActive
        {
            get; set;
        } = true;
    }
}
